<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:78:"D:\HttpDoc\sewage\public/../application/company\view\company\outfall_show.html";i:1490861728;s:69:"D:\HttpDoc\sewage\public/../application/company\view\Public\base.html";i:1490694631;s:71:"D:\HttpDoc\sewage\public/../application/company\view\Public\header.html";i:1490693556;s:77:"D:\HttpDoc\sewage\public/../application/company\view\Public\left_sidebar.html";i:1490690131;s:71:"D:\HttpDoc\sewage\public/../application/company\view\Public\footer.html";i:1490598488;s:80:"D:\HttpDoc\sewage\public/../application/company\view\Public\control_sidebar.html";i:1490582072;}*/ ?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <meta name="description" content="<?php echo $site_description; ?>">
  <meta name="keywords" content="<?php echo $site_keywords; ?>">
  <title><?php echo $site_title; ?></title>
  <link rel="icon" type="image/x-icon" href="/favicon.ico">
  <link rel="stylesheet" href="__STATIC__/bootstrap/css/bootstrap.min.css">
  <link rel="stylesheet" href="__STATIC__/font-awesome/css/font-awesome.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/css/AdminLTE.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/css/skins/skin-blue.min.css">
  <link rel="stylesheet" href="__STATIC__/dist/css/style.css">
  
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="__STATIC__/IE8/html5shiv.min.js"></script>
  <script src="__STATIC__/IE8/respond.min.js"></script>
  <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
  <!-- Main Header -->
  <header class="main-header">
    <!-- Logo -->
    <a href="index2.html" class="logo">
      <span class="logo-mini"><img src="__STATIC__/dist/img/logomini.png" alt="<?php echo $site_name; ?>"/></span>
      <span class="logo-lg"><img src="__STATIC__/dist/img/fontlogo.png" alt="<?php echo $site_name; ?>"/></span>
    </a>
    <!-- Header Navbar -->
    <nav class="navbar navbar-static-top" role="navigation">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>
      <div class="fast-button hidden-xs">
       
        <button type="button" class="btn btn-info"><i class="fa fa-plus"></i>排污数据</button>
   
        <div class="btn-group">
          <button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i>企业信息</button>
          <ul class="dropdown-menu" role="menu">
            <li><a href="#">添加企业</a></li>
            <li class="divider"></li>
            <li><a href="#">添加排污口</a></li>
          </ul>
        </div>
        <button type="button" class="btn btn-warning"><i class="fa fa-plus"></i>污染源</button>
        <div class="btn-group">
          <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i>技术资料</button>
          <ul class="dropdown-menu" role="menu">
            <li><a href="#">有机废水处理技术</a></li>
            <li class="divider"></li>
            <li><a href="#">施工工程相关信息</a></li>
            <li class="divider"></li>
            <li><a href="#">运行工程相关信息</a></li>
          </ul>
        </div>
      </div>
      
      <!-- Navbar Right Menu -->
      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <!-- Messages: style can be found in dropdown.less-->
          <li class="dropdown messages-menu">
            <!-- Menu toggle button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-envelope-o"></i>
              <span class="label label-success">4</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">You have 4 messages</li>
              <li>
                <!-- inner menu: contains the messages -->
                <ul class="menu">
                  <li><!-- start message -->
                    <a href="#">
                      <div class="pull-left">
                        <!-- User Image -->
                        <img src="__STATIC__/dist/img/avatar3.png" class="img-circle" alt="User Image">
                      </div>
                      <!-- Message title and timestamp -->
                      <h4>
                        Support Team
                        <small><i class="fa fa-clock-o"></i> 5 mins</small>
                      </h4>
                      <!-- The message -->
                      <p>Why not buy a new awesome theme?</p>
                    </a>
                  </li>
                  <!-- end message -->
                </ul>
                <!-- /.menu -->
              </li>
              <li class="footer"><a href="#">See All Messages</a></li>
            </ul>
          </li>
          <!-- /.messages-menu -->

          <!-- Notifications Menu -->
          <li class="dropdown notifications-menu">
            <!-- Menu toggle button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-bell-o"></i>
              <span class="label label-warning">10</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">You have 10 notifications</li>
              <li>
                <!-- Inner Menu: contains the notifications -->
                <ul class="menu">
                  <li><!-- start notification -->
                    <a href="#">
                      <i class="fa fa-users text-aqua"></i> 5 new members joined today
                    </a>
                  </li>
                  <!-- end notification -->
                </ul>
              </li>
              <li class="footer"><a href="#">View all</a></li>
            </ul>
          </li>
          <!-- Tasks Menu -->
          <li class="dropdown tasks-menu">
            <!-- Menu Toggle Button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-flag-o"></i>
              <span class="label label-danger">9</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">You have 9 tasks</li>
              <li>
                <!-- Inner menu: contains the tasks -->
                <ul class="menu">
                  <li><!-- Task item -->
                    <a href="#">
                      <!-- Task title and progress text -->
                      <h3>
                        Design some buttons
                        <small class="pull-right">20%</small>
                      </h3>
                      <!-- The progress bar -->
                      <div class="progress xs">
                        <!-- Change the css width attribute to simulate progress -->
                        <div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
                          <span class="sr-only">20% Complete</span>
                        </div>
                      </div>
                    </a>
                  </li>
                  <!-- end task item -->
                </ul>
              </li>
              <li class="footer">
                <a href="#">View all tasks</a>
              </li>
            </ul>
          </li>
          <!-- User Account Menu -->
          <li class="dropdown user user-menu">
            <!-- Menu Toggle Button -->
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <!-- The user image in the navbar-->
              <img src="__STATIC__/dist/img/avatar.png" class="user-image" alt="User Image">
              <!-- hidden-xs hides the username on small devices so only the image appears. -->
              <span class="hidden-xs">Alexander Pierce</span>
            </a>
            <ul class="dropdown-menu">
              <!-- The user image in the menu -->
              <li class="user-header">
                <img src="__STATIC__/dist/img/avatar.png" class="img-circle" alt="User Image">

                <p>
                  Alexander Pierce - Web Developer
                  <small>Member since Nov. 2012</small>
                </p>
              </li>
              <!-- Menu Body -->
              <li class="user-body">
                <div class="row">
                  <div class="col-xs-4 text-center">
                    <a href="#">Followers</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">Sales</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">Friends</a>
                  </div>
                </div>
                <!-- /.row -->
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat">Profile</a>
                </div>
                <div class="pull-right">
                  <a href="#" class="btn btn-default btn-flat">Sign out</a>
                </div>
              </li>
            </ul>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar">
    <section class="sidebar">
      <div class="user-panel">
        <div class="pull-left image">
          <img src="__STATIC__/dist/img/avatar.png" class="img-circle" alt="User Image">
        </div>
        <div class="pull-left info">
          <p>昆明理工大学</p>
          <!-- Status -->
          <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
        </div>
      </div>
      <!-- Sidebar Menu -->
      <ul class="sidebar-menu">
        <li class="header">控制面板</li>
        <li class="active"><a href="<?php echo url('/'); ?>"><i class="fa fa-home"></i> <span>面板首页</span></a></li>


        <li class="header">在线监测</li> 
        <li ><a href="<?php echo url('/'); ?>"><i class="fa fa-eye"></i><span>在线监测</span></a></li>


        <li class="header">企业信息管理</li>
        <li ><a href="<?php echo url('company/index'); ?>"><i class="fa fa-vcard-o"></i> <span>企业列表</span></a></li>
        <li><a href="<?php echo url('company/outfall'); ?>"><i class="fa fa-deaf"></i> <span>排污口列表</span></a></li>
        <!-- <li class="treeview">
          <a href="#"><i class="fa fa-link"></i> <span>Multilevel</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="#">Link in level 2</a></li>
            <li><a href="#">Link in level 2</a></li>
          </ul>
        </li> -->

        <li class="header">污染源管理</li> 
        <li ><a href="<?php echo url('sources/index'); ?>"><i class="fa fa-life-ring"></i> <span>污染源列表</span></a></li>

        <li class="header">技术资料库</li>
        <li ><a href="<?php echo url('document/index',['type'=>1]); ?>"><i class="fa fa-podcast"></i> <span>处理技术</span></a></li>
        <li ><a href="<?php echo url('document/index',['type'=>2]); ?>"><i class="fa fa-building-o"></i> <span>施工工程</span></a></li>
        <li ><a href="<?php echo url('document/index',['type'=>3]); ?>"><i class="fa fa-hourglass-half"></i> <span>运行工程</span></a></li>
        <li class="header">系统设置</li>
        <li ><a href="<?php echo url('norm/index'); ?>"><i class="fa fa-info-circle"></i> <span>排污指标设置</span></a></li>
      </ul>
      <!-- /.sidebar-menu -->
    </section>
  </aside>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    
<section class="content-header">
  <h1>
    排污口管理
    <small>添加企业排污口相关信息</small>
  </h1>
  <ol class="breadcrumb">
    <li><a href="<?php echo url('/'); ?>"><i class="fa fa-dashboard"></i> 面板</a></li>
    <li><a href="<?php echo url('outfall'); ?>">排污口管理</a></li>
    <li class="active">查看企业排污口信息</li>
  </ol>
</section>
<section class="content">
  <div class="box box-info box-form">
    <div class="box-header with-border">
      <h3 class="box-title">查看企业排污口信息</h3>
    </div>
    <!-- form start -->
    <form method="POST" action="">
      <div class="box-body">
        <div class="form-group col-md-6">
          <label for="name" class="control-label">排污口名称：</label>
          <input type="text" class="form-control " id="name" name="name" placeholder="排污口名称：" value="<?php echo $item['name']; ?>">
           <input type="text" id="id" name="id" hidden="hidden"  value="<?php echo $item['id']; ?>">
        </div>
        <div class="form-group col-md-6">
          <label for="attach" class="control-label">所属企业：</label>
          <select name="attach" id="attach" class="form-control">
            <?php if(is_array($company) || $company instanceof \think\Collection || $company instanceof \think\Paginator): $i = 0; $__LIST__ = $company;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
            <option value="<?php echo $vo['id']; ?>" <?php if($item['attach'] == $vo['id']): ?> selected="selected"<?php endif; ?>><?php echo $vo['name']; ?></option>
            <?php endforeach; endif; else: echo "" ;endif; ?>
          </select>
        </div>
        <div class="form-group col-md-6">
          <label for="location" class="control-label">地理位置：</label>
          <input type="text" class="form-control " id="location" name="location" placeholder="地理位置：" value="<?php echo $item['location']; ?>">
        </div>
        <div class="form-group col-md-6">
          <label for="type" class="control-label">排污类型：</label>
          <input type="text" class="form-control " id="type" name="type" placeholder="排污类型：" value="<?php echo $item['type']; ?>">
        </div>
        <div class="form-group  col-md-6">
          <label for="daily_output" class="control-label">污水日产量：</label>
          <input type="text" class="form-control " id="daily_output" name="daily_output" placeholder="污水日产量：" value="<?php echo $item['daily_output']; ?>">
        </div>
        <div class="form-group  col-md-6">
          <label for="daily_discharge" class="control-label">污水日排放量：</label>
          <input type="text" class="form-control " id="daily_discharge" name="daily_discharge" placeholder="污水日排放量：" value="<?php echo $item['daily_discharge']; ?>" >
        </div>
        <div class="form-group  col-md-6">
          <label for="treatment_process" class="control-label">污水处理技术：</label>
          <textarea class="form-control" id="treatment_process" name="treatment_process" cols="30" rows="6" placeholder="污水处理技术："> <?php echo $item['treatment_process']; ?></textarea>
        </div>

        <div class="form-group col-sm-6">
          <label for="effluent_standard" class="control-label">排放标准：</label>
          <textarea class="form-control" id="effluent_standard" name="effluent_standard" cols="30" rows="6" placeholder="排放标准："> <?php echo $item['effluent_standard']; ?></textarea>
        </div>
        <div class="form-group  col-sm-6">
          <label for="is_standard" class="control-label">当前是否达标：</label>
          <label class="radio-inline">
            <input type="radio" name="is_monitor"  id="is_standard" value="1" <?php if($item['is_standard'] == '1'): ?>checked="checked"<?php endif; ?>> 是
          </label>
          <label class="radio-inline">
            <input type="radio" name="is_monitor" id="is_standard" value="0" <?php if($item['is_standard'] == '0'): ?>checked="checked"<?php endif; ?>> 否
          </label>
        </div>
        <div class="form-group col-sm-6">
          <label for="is_monitor" class="control-label">是否在线监测：</label> 
          <label class="radio-inline">
            <input type="radio" name="is_monitor" id="is_monitor" value="1" <?php if($item['is_monitor'] == '1'): ?>checked="checked"<?php endif; ?>> 是
          </label>
          <label class="radio-inline">
            <input type="radio" name="is_monitor" id="is_monitor" value="0" <?php if($item['is_monitor'] == '0'): ?>checked="checked"<?php endif; ?>> 否
          </label>

        </div>
      </div>
      <!-- /.box-body -->
    </form>
  </div>
</section>

  </div>
  <!-- /.content-wrapper -->
    <footer class="main-footer">
    <div class="pull-right hidden-xs">
     	技术支持:<a href="http://www.solerose.com/">易朵花科技</a>
    </div>
    <strong>Copyright &copy; 2017 <a href="javascript:void(0);"><?php echo $site_name; ?></a></strong> All rights reserved.
  </footer>
  <!-- Control Sidebar -->
  <aside class="control-sidebar control-sidebar-dark">
    <!-- Create the tabs -->
    <ul class="nav nav-tabs nav-justified control-sidebar-tabs">
      <li class="active"><a href="#control-sidebar-home-tab" data-toggle="tab"><i class="fa fa-home"></i></a></li>
      <li><a href="#control-sidebar-settings-tab" data-toggle="tab"><i class="fa fa-gears"></i></a></li>
    </ul>
    <!-- Tab panes -->
    <div class="tab-content">
      <!-- Home tab content -->
      <div class="tab-pane active" id="control-sidebar-home-tab">
        <h3 class="control-sidebar-heading">Recent Activity</h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript:;">
              <i class="menu-icon fa fa-birthday-cake bg-red"></i>

              <div class="menu-info">
                <h4 class="control-sidebar-subheading">Langdon's Birthday</h4>

                <p>Will be 23 on April 24th</p>
              </div>
            </a>
          </li>
        </ul>
        <!-- /.control-sidebar-menu -->

        <h3 class="control-sidebar-heading">Tasks Progress</h3>
        <ul class="control-sidebar-menu">
          <li>
            <a href="javascript:;">
              <h4 class="control-sidebar-subheading">
                Custom Template Design
                <span class="pull-right-container">
                  <span class="label label-danger pull-right">70%</span>
                </span>
              </h4>

              <div class="progress progress-xxs">
                <div class="progress-bar progress-bar-danger" style="width: 70%"></div>
              </div>
            </a>
          </li>
        </ul>
        <!-- /.control-sidebar-menu -->

      </div>
      <!-- /.tab-pane -->
      <!-- Stats tab content -->
      <div class="tab-pane" id="control-sidebar-stats-tab">Stats Tab Content</div>
      <!-- /.tab-pane -->
      <!-- Settings tab content -->
      <div class="tab-pane" id="control-sidebar-settings-tab">
        <form method="post">
          <h3 class="control-sidebar-heading">General Settings</h3>

          <div class="form-group">
            <label class="control-sidebar-subheading">
              Report panel usage
              <input type="checkbox" class="pull-right" checked>
            </label>

            <p>
              Some information about this general settings option
            </p>
          </div>
          <!-- /.form-group -->
        </form>
      </div>
      <!-- /.tab-pane -->
    </div>
  </aside>
  <!-- /.control-sidebar -->
  <div class="control-sidebar-bg"></div>
</div>

<script src="__STATIC__/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="__STATIC__/bootstrap/js/bootstrap.min.js"></script>
<script src="__STATIC__/dist/js/app.min.js"></script>

<script>
  $(function(){
    $(":input").attr("readonly","readonly");

  });
</script>

</body>
</html>
